namespace KingerRobot.MexicoSailunMES.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// IN_END
    /// </summary>
    public DbSet<POInEnd> InEnds { get; set; }
}

/// <summary>
/// IN_END
/// 表[IN_END]
/// </summary>
[Table("in_end")]
public class POInEnd
{
    /// <summary>
    /// GT条码号码
    /// 主键[IN_END.BCD_NO)]
    /// </summary>
    [Key]
    [Column("bcd_no")]
    public string BcdNo { get; set; }
    /// <summary>
    /// GT物料编码 ex 2042001235
    /// [IN_END.TBM_SPEC)]
    /// </summary>
    [Column("tbm_spec")]
    public string TbmSpec { get; set; }
    /// <summary>
    /// GT物料描述
    /// [IN_END.TBM_SPEC_DESC)]
    /// </summary>
    [Column("tbm_spec_desc")]
    public string TbmSpecDesc { get; set; }
    /// <summary>
    /// GT生产版本 
    /// [IN_END.TBM_SPEC_VER)]
    /// </summary>
    [Column("tbm_spec_ver")]
    public string TbmSpecVer { get; set; }
    /// <summary>
    /// GT有效期间
    /// [IN_END.TBM_EXPIRATION_TIME)]
    /// </summary>
    [Column("tbm_expiration_time")]
    public DateTime? TbmExpirationTime { get; set; }
    /// <summary>
    /// 实验跟踪号 
    /// [IN_END.TBM_PS)]
    /// </summary>
    [Column("tbm_ps")]
    public string TbmPs { get; set; }
    /// <summary>
    /// 成型机号
    /// [IN_END.TBM_NO)]
    /// </summary>
    [Column("tbm_no")]
    public string TbmNo { get; set; }
    /// <summary>
    /// 生产日期 
    /// [IN_END.PROD_DT)]
    /// </summary>
    [Column("prod_dt")]
    public DateTime? ProdDt { get; set; }
    /// <summary>
    /// 标准重量
    /// [IN_END.STD_WT)]
    /// </summary>
    [Column("std_wt")]
    public decimal? StdWt { get; set; }
    /// <summary>
    /// 重量下限
    /// [IN_END.MIN_WT)]
    /// </summary>
    [Column("min_wt")]
    public decimal? MinWt { get; set; }
    /// <summary>
    /// 重量上限 
    /// [IN_END.MAX_WT)]
    /// </summary>
    [Column("max_wt")]
    public decimal? MaxWt { get; set; }
    /// <summary>
    /// 入库許可 ‘Y’ :入库  ‘N” : 不入库 
    /// [IN_END.IN_PERMIT)]
    /// </summary>
    [Column("in_permit")]
    public string InPermit { get; set; }
    /// <summary>
    /// 实际重量  胎胚立库测重量后更新   胎胚立库 
    /// [IN_END.ACT_WT)]
    /// </summary>
    [Column("act_wt")]
    public decimal? ActWt { get; set; }
    /// <summary>
    /// 存储位置  仓库区分(1)-起重机(1)-列(2)-行(2)
    /// [IN_END.RACK_ADD)]
    /// </summary>
    [Column("rack_add")]
    public string RackAdd { get; set; }
    /// <summary>
    /// 重量状态  重量 ‘OK’ ‘NG’
    /// [IN_END.PROC_STAT)]
    /// </summary>
    [Column("proc_stat")]
    public string ProcStat { get; set; }
    /// <summary>
    /// 错误编码 待定义
    /// [IN_END.ERR_CD)]
    /// </summary>
    [Column("err_cd")]
    public string ErrCd { get; set; }
    /// <summary>
    /// 变更日期   胎胚立库测重量后更新
    /// [IN_END.UPD_DT)]
    /// </summary>
    [Column("upd_dt")]
    public DateTimeOffset? UpdDt { get; set; }
    /// <summary>
    /// 创建日期  （数据库自己生成）
    /// [IN_END.REG_DT)]
    /// </summary>
    [Column("reg_dt")]
    public DateTime? RegDt { get; set; }
    /// <summary>
    /// ‘0’ : 胎胚立库写入 insert , ‘1’ : ME
    /// [IN_END.RCV_FLAG)]
    /// </summary>
    [Column("rcv_flag")]
    public string RcvFlag { get; set; }
 
}
